package com.yiyi.credit.manage.model.entity;

import io.swagger.annotations.ApiModelProperty;
import javax.persistence.Column;
import javax.persistence.Id;
import java.io.Serializable;
import java.util.Date;


public class BaseEntity implements Serializable {

    private static final long serialVersionUID = -5064849491725378441L;

    @Id
    @Column(name = "id", columnDefinition = "主键")
    @ApiModelProperty(value = "主键")
    private String id;

    @Column(name = "createTime", columnDefinition = "创建时间")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @Column(name = "createPeople", columnDefinition = "创建人")
    @ApiModelProperty(value = "创建人")
    private String createPeople;

    @Column(name = "updateTime", columnDefinition = "更新时间")
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    @Column(name = "updatePeople", columnDefinition = "更新人")
    @ApiModelProperty(value = "更新人")
    private String updatePeople;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getCreatePeople() {
        return createPeople;
    }

    public void setCreatePeople(String createPeople) {
        this.createPeople = createPeople;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getUpdatePeople() {
        return updatePeople;
    }

    public void setUpdatePeople(String updatePeople) {
        this.updatePeople = updatePeople;
    }
}
